﻿<%@ Page Title="Template" Language="C#" Theme="WebAdmin" MasterPageFile="~/WebAdmin/WebAdmin.master"
    AutoEventWireup="true" CodeFile="AddTemplate.aspx.cs" Inherits="WebAdmin_AddTemplate" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="contenttext">
        <div style="padding: 10px; text-align:left;">
            <h3 style="margin: 0px;">
                <asp:Literal ID="ltrtitle" runat="server"></asp:Literal></h3>
            <fieldset id="step1" runat="server">
                <legend>Template Details</legend>
                <table width="100%">
                <tr>
                        <td width="30%">
                            Select Resource:
                        </td>
                        <td width="70%">
                            <asp:DropDownList ID="DDLWebResource" runat="server"></asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td width="30%">
                            Template Name:
                        </td>
                        <td width="70%">
                            <asp:TextBox id="txtMasterPageName" runat="server" type="text"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Template Image:
                        </td>
                        <td>
                            <asp:FileUpload ID="FUTemplate" runat="server" />
                        </td>
                    </tr>
                </table>
                <div style="text-align: right;">
                    <asp:Button ID="btnAddTemplate" Text="Create Template" runat="server" OnClick="btnAddTemplate_Click" /></div>
            </fieldset>
            <fieldset id="step2" runat="server">
                <legend>Add Required Resources (i.e. css files, images etc...)</legend>
                <asp:Literal ID="ltrViewFiles" runat="server"></asp:Literal>
                <div style="text-align: right;">
                    <asp:Button ID="btnDone" Text="Add Content" runat="server" 
                        onclick="btnDone_Click"  /></div>
            </fieldset>
        </div>
    </div>
</asp:Content>
